
#!/bin/bash

OHOS_SRC_ROOT=$(cd "../../.." && pwd)

qemu-system-arm -M vexpress-a9 -m 512M -dtb ${OHOS_SRC_ROOT}/out/KERNEL_OBJ/kernel/src_tmp/linux-4.19/arch/arm/boot/dts/vexpress-v2p-ca9.dtb \
    -kernel ${OHOS_SRC_ROOT}/out/KERNEL_OBJ/kernel/src_tmp/linux-4.19/arch/arm/boot/zImage \
    -append "root=/dev/mmcblk0 rw console=ttyAMA0 init=/init androidboot.selinux=permissive androidboot.hardware=vexpress-a9" \
    -sd ${OHOS_SRC_ROOT}/device/qemu/vexpress-a9/rootfs.ext3 -nographic

